package com.online.olsrootserver.service;

import com.online.olsrootserver.entity.Customer;

/**
 * Created by littleheng on 2018/5/8
 */
public interface CustomerService {

    /**
     * 新增顾客
     * @param customer
     * @return
     */
    int addCustomer(Customer customer);

    /**
     * 查询顾客是否已存在
     * @param openId
     * @return
     */
    int checkCustomer(String openId);

    int modifySubscribeStatus(String openId, String status);
}
